﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Ninject;

namespace IOCTest.Junior
{
    class EnterPoint
    {
        private static  IKernel kernel=new StandardKernel(new MyModule());
        public static void Enter()
        {
//            ILogger logger = kernel.Get<DatabaseLogger>();
//            logger.Write("日志文件");
            ITester tester = kernel.Get<IOCTester>();
            tester.Test();
            Console.ReadLine();
        }
    }
}
